package io.renren.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.dao.ProductshelvesstcokDao;
import io.renren.entity.ProductEntity;
import io.renren.entity.ProductshelvesstcokEntity;
import io.renren.service.ProductshelvesstcokService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("productshelvesstcokService")
public class ProductshelvesstcokServiceImpl extends ServiceImpl<ProductshelvesstcokDao, ProductshelvesstcokEntity> implements ProductshelvesstcokService {

    @Override
    public List<ProductEntity> getProductByShelvesId(Integer shelvesid){
        List<ProductEntity> list = baseMapper.getProductByShelvesId(shelvesid);
        return list;
    }

}
